<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hệ thống quản lý doanh nghiệp</title>
<link href="../resources/styles/common.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../resources/dropdown-check-list.1.3/css/ui.dropdownchecklist.themeroller.css">
<link rel="stylesheet" type="text/css" href="../resources/dropdown-check-list.1.3/doc/smoothness/jquery-ui-1.8.4.custom.css">
<!--[if IE 7]>
	<link rel="stylesheet" type="text/css" href="../resources/styles/fixed_ie7.css" />
<![endif]-->
<!--[if IE 8]>
	<link rel="stylesheet" type="text/css" href="../resources/styles/fixed_ie8.css" />
<![endif]-->
</head>

<body>
	<div id="headerWrapper">
    	<div class="BoxHeaderGroup">
        	<div class="BoxHeaderGroupIn">
            	<h1 id="logo"><a href="/" title="Quay về trang chủ" class="HideText"></a></h1>
                <div id="boxFuncs">
                	<p class="AccountStyle">
                		<a href="#" class="Sprite1">Xin chào {{nickname}}!</a>
                		<a href="{{ signOutUrl }}">(Thoát)</a>
                	</p>
                    <!-- <div class="BoxSubMenu">
                        <div class="BoxSubMenuIn">
                            <div class="Boxsubmenu-bg Boxsubmenu-n"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-ne"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-e"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-se"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-s"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-sw"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-w"></div>
                            <div class="Boxsubmenu-bg Boxsubmenu-nw"></div>
                            <ul class="ResetList SubMenuList FixFloat">
                                <li><a href="#" class="Active">Đổi mật khẩu</a></li>
                                <li class="SubMenuEndList"><a href="#">Đăng xuất</a></li>
                            </ul>
                        </div>
                    </div> -->
                </div>
                <div class="Clear"></div>
        	</div>
        </div>
        <div class="BoxHeader">
            <div id="header">
                <h2 id="logoAdmin"><a href="#" title="Viễn thông A" class="HideText">Viễn thông A</a></h2>
                <div id="menu">
                    <ul class="MenuList ResetList">                              
                        <li class="MenuItem"><a id="KinhDoanh" href="/quanlydonhang/" style="display: none; ">Kinh doanh</a></li>
                        <li class="MenuItem"><a id="Xuong" href="/hangsanxuathomnay/"style="display: none; ">Xưởng</a></li>
                        <li class="MenuItem"><a id="QuanLy" href="/quanlynhanvien/" style="display: none; ">Quản lý </a></li>
                        <li class="MenuItem"><a id="KeToan" href="/baocaodoanhthu/" style="display: none; ">Kế toán</a></li>
                        <li class="MenuItem"><a id="GiaoHang" href="/giaohanghomnay/" style="display: none; ">Giao hàng</a></li>
                        <li class="MenuItem"><a id="HangHoa" href="/quanlygiaban/" style="display: none; ">Hàng hóa</a></li>
                    </ul>
                </div>
                <div class="Clear"></div>
            </div>
    	</div>
    </div>
    <div id="mainWrapper">
    	<div id="main">
            <div class="FirstSidebar">
                <div class="MenuLeftBox">
                	<ul class="ResetList MenuLeftList">
                	{% block left_menu %}
                    	<li class="MenuLeftItem MenuLeft21Item"><a href="#" class="Sprite1 Active">Quản lý nhân viên</a></li>
                    	<li class="MenuLeftItem MenuLeft22Item"><a href="#" class="Sprite1">Chỉ tiêu kinh doanh</a></li>
                        <li class="MenuLeftItem MenuLeft23Item"><a href="#" class="Sprite1">Phân quyền</a></li>
                     {% endblock %}
                    </ul>
                </div>
            </div>
            <div class="Content">
            	<div class="ContentIn">
                    <h3>{% block title %} title {% endblock %}</h3>
                    <div class="ContentDetail">
                    	<div class="ContentDetailIn">
                            <div class="BoxSearch">  
                            	{% block search %}                              
                                <label class="LabelStyle Label2Style">Từ ngày</label>
                                <input type="text" class="InputTextStyle InputText6Style" />
                                <a href="#" class="CalendarLink"><img src="../resources/images/icon-calendar.jpg" width="24" height="20" /></a>
                                <label class="LabelStyle Label7Style">Đến ngày</label>
                                <input type="text" class="InputTextStyle InputText6Style" />
                                <a href="#" class="CalendarLink"><img src="../resources/images/icon-calendar.jpg" width="24" height="20" /></a>
                                <!-- <div class="Clear"></div> -->
                                <label class="LabelStyle Label2Style">Loại tin</label>
                                <select class="SelectStyle Select1Style">
                                	<option>Tin nhắn sinh nhật</option>
                                </select>
                                <div class="Clear"></div>
                                <label class="LabelStyle Label9Style">Tất cả</label>
                                <select class="SelectStyle Select1Style">
                                	<option>Tất cả</option>
                                </select>
                                <div class="Clear"></div>
                                <div class="BoxButton">
                                    <a href="#" class="BtnGeneralStyle Sprite2"><span class="Sprite2">Báo cáo</span></a><a href="#" class="BtnGeneralStyle Sprite2"><span class="Sprite2">Export Excel</span></a>
                                    <!-- <img src="../resources/images/loading.gif" width="16" height="16" alt="Đang tải" class="LoadingStyle" /> -->
                                </div>
                                {% endblock %}
                            </div>
                    	</div>
                        <div class="BoxResult">                           	
                                {% block grid %}
                                {% endblock %}
                        </div>
            		</div>
                </div>
            </div>
            <div class="Clear"></div>
    	</div>
    </div>						
    <div id="footerWrapper">
    	<div id="footer" class="FixFloat">
        	
        </div>
    </div>
	<script type="text/javascript" src="/js/jquery-1.7.1.js"></script>
    <script type="text/javascript" src="/js/jquery-ui.js"></script>
    
    <script type="text/javascript" src="/resources/dropdown-check-list.1.3/js/ui.dropdownchecklist-1.3-min.js"></script>
    <script type="text/javascript" src="/resources/jScrollPane/jScrollPane.js"></script>
    <script type="text/javascript" src="/resources/jScrollPane/jquery.mousewheel.js"></script>
    <script type="text/javascript" src="/resources/fancybox/jquery.fancybox-1.3.1.js"></script>
    <link rel="stylesheet" type="text/css" href="/jqgrid/css/ui.jqgrid.css">
	<script type="text/javascript" src="/jqgrid/js/jqgrid.js"></script>
	<script type="text/javascript" src="/jqgrid/js/grid.locale-en.js"></script>
	<script type="text/javascript" src="/js/jquery.ui.mask.js"></script>
	<script type="text/javascript" src="/js/jquery.ui.widget.js"></script>
	<script type="text/javascript">			
	$(document).ready(function(){				
		{% for menu in lstMenu %}
		$('#{{ menu }}').show();
		{% endfor %}
		
		{% for perm in lstPerm %}
		$('#{{ perm }}').show();
		{% endfor %}
	});
	</script>
    {% block javascript %}
    {% endblock %}
    <!-- <script type="text/javascript" src="../resources/scripts/main.js"></script> -->
</body>
</html>
